<template>
  <el-dialog :visible.sync="thatVisible" modal-append-to-body title="确认是否要删除" :z-index="99999" class="compact-dialog">
    <div>
      <el-checkbox v-model="checked">是否添加进黑名单（下次爬取不保存）</el-checkbox>
    </div>
    <span slot="footer" class="dialog-footer">
      <el-button @click="thatVisible = false">取 消</el-button>
      <el-button type="primary" @click="handleConfirm">确 定</el-button>
    </span>
  </el-dialog>
</template>

<script>
export default {
  name: '',
  components: {

  },
  data() {
    return {
      checked: false,
      thatVisible: false
    }
  },
  methods: {
    handleConfirm(){
      this.$emit('handleConfirm', this.thatVisible)
    },
    showDialog(){
      this.checked = false
      this.thatVisible = true
    },
    closeDialog(){
      this.thatVisible = false
    }
  }
}
</script>


<style scoped lang="scss">

</style>
